package com.waldamartin.android.mobileapplicationspairsapp.model;

import java.util.ArrayList;

/**
 * Class for data model structure
 * 
 * @author Martin
 */
public class Game
{
	private String name;
	private String lastTimePlayed;
	private double latitude;
	private double longitude;
	private ArrayList<Integer> set;

	public Game(String name)
	{
		this.name = name;
		set = new ArrayList<Integer>();
	}
	
	public String getName()
	{
		return name;
	}

	public void setName(String name)
	{
		this.name = name;
	}

	public ArrayList<Integer> getSet()
	{
		return set;
	}

	public void setSet(ArrayList<Integer> set)
	{
		this.set = set;
	}
	
	public void addElement(Integer newImage)
	{
		set.add(newImage);
	}

	public String getLastTimePlayed()
	{
		return lastTimePlayed;
	}

	public void setLastTimePlayed(String lastTimePlayed)
	{
		this.lastTimePlayed = lastTimePlayed;
	}

	public double getLatitude()
	{
		return latitude;
	}

	public void setLatitude(double latitude)
	{
		this.latitude = latitude;
	}

	public double getLongitude()
	{
		return longitude;
	}

	public void setLongitude(double longitude)
	{
		this.longitude = longitude;
	}
}
